﻿Public Class _Default
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

    End Sub

    Protected Sub txt1_TextChanged(ByVal sender As Object, ByVal e As EventArgs) Handles txt1.TextChanged




    End Sub

    Protected Sub sumbtn_Click(ByVal sender As Object, ByVal e As EventArgs) Handles sumbtn.Click

        Dim first As Integer
        Dim second As Integer
        Dim answer As Integer


        first = Val(txt1.Text)
        second = Val(txt2.Text)
        answer = first + second
        MsgBox("The sum is " & answer)








    End Sub
End Class